<%@include file="common.jsp"%>
<jsp:useBean id="cart" scope="session" class="cn.jhc.bean.CartBean"/>
<%
	String strIsbn=request.getParameter("add");
	if(strIsbn!=null && !"".equals(strIsbn)){
		int isbn=Integer.parseInt(strIsbn);
		ShopBean shop=shopdb.getShop(strIsbn);
		cart.addItem(isbn, shop);
		
	}
%>